<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/templates/common/taglib.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>${title }</title>
    <link rel="stylesheet" href="${basePath}/static/bootstrap/css/bootstrap.css"/>
    <link href="${basePath}/static/css/basic.css" rel="stylesheet" type="text/css">
    <link href="${basePath}/static/css/list.css" rel="stylesheet" type="text/css">
    <link href="${basePath}/static/css/login.css" rel="stylesheet" type="text/css">
	<link href="${basePath}/static/css1/index.css" rel="stylesheet" type="text/css">
	<link href="${basePath}/static/css1/lyh.css" rel="stylesheet" type="text/css">
 	<%-- <link rel="stylesheet" href="${basePath}/static/css/content_leftNav.css"/>
    <link rel="stylesheet" href="${basePath}/static/css/FrontControl.css"/>
     --%><script type="text/javascript" src="${basePath}/static/js/jquery.min.js"></script>
	<script type="text/javascript" src="${basePath}/static/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="${basePath}/static/page/jqPaginator/jqPaginator.js"></script>
    
</head>
<body>
<!--头部-->
	<%@include file="/WEB-INF/templates/common/header.jsp"%>
	<!------导航条-->
	<%@include file="/WEB-INF/templates/common/navigation.jsp"%>

<!--内容部分-->
<div class="list_main lay_out" class="clearfix">
    <div class="list_DH">
        <%@include file="/WEB-INF/templates/common/inhospitalDisease.jsp"%>
    </div>
    <div class="list_NR">
        <div class="loc">
            <h3 style="margin:0">输血记录顺位</h3>
        </div>
        <div class="list_con_table">
            <div class="search_table">
            <ul class="clearfix" style="margin-bottom:0;">
			    <li class="Label_1">出院日期：&nbsp;</li>
			    <li class="Label_4" style="text-align:left;padding-left:3px;width:280px">
			    <input class="Wdate input" style="width:125px;" type="text"  name='startTime' id='startTime' value='${params.startTime}' onFocus="WdatePicker()" />
			    <span>&nbsp;-&nbsp;</span>
			    <input class="Wdate input" type="text" style="width:125px;"  name='endTime' id='endTime' value='${params.endTime}' onFocus="WdatePicker()" />
			    </li>
			    <li class="Label_1" style="margin-left: 50px;">出院科室：&nbsp;</li>
			    <li class="Label_2">
			         <input type="text" id="cyksSelectId" value="" name="sysstj.cyks" class="input_box"  />     
				</li>
				<li class="Label_8" style="margin-left: 30px;"><a id="subBTId" style="padding:5px 6px;cursor:pointer">统计</a></li>
			 </ul>
	</div>
	<br>
	<table width="100%" class="Search_tableList" cellspacing="0" border="0" cellpadding="0">
		<tr class="tdLabel_4">
			<th width="50px">识别码</th>
			<th width="60px">姓名</th>
			<th width="38px">性别</th>
			<th width="65px">入院日期</th>
			<th width="65px">出院日期</th>
			<th width="100px">出院主要诊断</th>
			<th width="80px">出院情况</th>
			<th width="80px">输血类型</th>
			<th width="150px">输血种类</th>
			<th width="65px">输血日期</th>
			<th width="100px">地址</th>
			<th width="65px">住院医师</th>
		</tr>
		
	</table>
	

    </div>
      
       </div> 
 </div>

<!------页脚部分--------->
<%@include file="/WEB-INF/templates/common/footer.jsp"%>

<!--JS部分-->
<script type="text/javascript">
	$(function() {
		var checkId = "";
		function checkEnd() {
			//某种情况下显示图片，停止转动
			$.post("http://localhost:8080/CMDP/tubiao/checkRenShuFenBuStatus", null, function(data) {
				var shengst = data['sheng'];
				if (shengst == 1) {
					$("#shengImgId").show();
					$("#tjimg").hide();
					clearInterval(checkId);
					$.post("tubiao/resetRenShuFenBuStatus", null,
							function(data) {
							}, 'json');
				}

			}, 'json');
		}
		/////统计按钮 start
		$("#subBTId")
				.click(
						function() {
							var startIime = $("#startT").val();
							var endTime = $("#endT").val();
							if (startIime && endTime) {
								var ksbms = $("#cyksSelectId").val();
								var sbtEle = document.getElementById("tjimg");
								sbtEle.style.display = "block";
								var dateSys = new Date().getTime();
								window.location.href = "http://localhost:8080/CMDP/tubiao/diquBingTu1?tcd.startTime="
										+ startIime
										+ "&tcd.endTime="
										+ endTime
										+ "&tcd.ksbms="
										+ ksbms
										+ "&d="
										+ dateSys;
							}
						});
		// /////////////出院科室////////////////////
		var ksDivStr = "ksDiv";
		$("#" + ksDivStr).hide();
		$("#cyksSelectId").click(function() {
			$("#mainContentKS").attr("src", "http://localhost:8080/CMDP/bingan/basy/selectCYKS.jsp");
			$("#" + ksDivStr).show();
			return false;
		});

	})
</script>


</body>
</html>